home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19980901-19981211 / 000292_news@newsmaster….columbia.edu _Tue Nov 10 14:13:08 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA21299
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 10 Nov 1998 14:13:04 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA22647
  7.     for kermit.misc@watsun; Tue, 10 Nov 1998 14:13:03 -0500 (EST)
  8. Path: news.columbia.edu!panix!howland.erols.net!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed.cwix.com!207.20.0.50!peerfeed.ncal.verio.net!news1.best.com!vnetnews.value.net!not-for-mail
  9. From: Mark Sapiro <msapiro@value.net>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: telnet connection with script
  12. Date: Tue, 10 Nov 1998 11:01:20 -0800
  13. Organization: Not Very Much
  14. Lines: 40
  15. Message-ID: <36488D80.3C35@value.net>
  16. References: <71scrf$7ct$1@nnrp1.dejanews.com> <726pag$338$1@nnrp1.dejanews.com> <726stp$176$1@apakabar.cc.columbia.edu> <729ckj$a24$1@nnrp1.dejanews.com>
  17. Reply-To: Mark Sapiro <msapiro@value.net>
  18. NNTP-Posting-Host: op214.value.net
  19. Mime-Version: 1.0
  20. Content-Type: text/plain; charset=us-ascii
  21. Content-Transfer-Encoding: 7bit
  22. X-Mailer: Mozilla 3.01 (Win95; I)
  23. To: bruds@luk.de
  24. Xref: news.columbia.edu comp.protocols.kermit.misc:9498
  25.  
  26. bruds@luk.de wrote:
  27. > In article <726stp$176$1@apakabar.cc.columbia.edu>,
  28. >   jaltman@watsun.cc.columbia.edu (Jeffrey Altman) wrote:
  29. > > In article <726pag$338$1@nnrp1.dejanews.com>,  <bruds@luk.de> wrote:
  30. > > : >
  31. > > : Soory I forgot the script as an examples:
  32. > > :
  33. > > : set host localhost 25
  34. > > : output helo
  35. > > : output mail from:<bruds>
  36. > > : output rcpt to:<bruds>
  37. > > : output data
  38. > > : output Halllllo
  39. > > : output \10\13.\10\13
  40. > > : output \10\13
  41. > > : output quit
  42. > > : connect
  43. > > :
  44. > >
  45. > > If you do not want interactive mode do not use the CONNECT command.
  46. > >
  47. > > <snip>
  48. > >
  49. > If I should not use CONNECT which command instead?
  50.  
  51. Use INPUT commands to wait for expected prompts from the host and
  52. synchronize output from OUTPUT commands.  For example:
  53.  
  54. set host localhost 25
  55. input 10 {220 }
  56. if failure end 1 No response from host
  57. input 1 \10
  58. if failure ...
  59. output helo
  60. ...
  61.  
  62. -- 
  63. Mark Sapiro <msapiro@value.net>       The highway is for gamblers,
  64. San Francisco Bay Area, California    better use your sense - B. Dylan